
{% load static %}
<!doctype html>
<html lang="zh">
<head>
    {% block  head_part %}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Automatic_Test</title>

<link rel="stylesheet" type="text/css" href="{% static 'login/css/styles--login.css' %}">
    {% endblock %}
</head>
<body>


<div class="wrapper">

	<div class="container">
{# 验证码事项暂且不动#}
{#     <a href="/register/" class="text-success"><ins>新用户注册</ins></a>#}
      {% if login_form.captcha.errors %}
        <div class="alert alert-warning">{{ login_form.captcha.errors }}</div>
      {% elif message %}
          <div class="alert alert-warning">{{ message }}</div>
      {% endif %}


		<h1>测试平台登录</h1>
		<form class="form" action="{% url 'file_manage:Login' %}" method="POST" >
            {% csrf_token %}
{#			<input type="text" placeholder="用户名">#}
{#			<input type="password" placeholder="密码">#}
            {{ login_form.username }}
            {{ login_form.password }}
			<button type="submit" id="login-button">登录</button>
{#			<button type="submit" id="login-button">登录</button>#}
		</form>
	</div>

	<ul class="bg-bubbles">
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
        <li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
        <li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
	</ul>

</div>

<script type="text/javascript" src="{% static 'login/js/jquery-2.1.1.min-login.js' %}"></script>
<!--<script type="text/javascript">
$('#login-button').click(function(event){
	event.preventDefault();
	$('form').fadeOut(500);
	$('.wrapper').addClass('form-success');
});
function checkForm(){
	{#event.preventDefault();#}
	$('form').fadeOut(500);
	$('.wrapper').addClass('form-success');
	return true;
}
</script>
-->
</body>
</html>